import VueRouter from "vue-router";
import Vue from "vue";
import User from "@/components/User.vue";
import Goods from "@/components/Goods.vue";
import Order from "@/components/Order.vue";
import Key from "@/components/Key.vue";
Vue.use(VueRouter)
const router = new VueRouter({
    routes:[
        {path:'/',redirect:"/user"},
        {path:'/user',component:User},
        {path:'/goods',component:Goods},
        {path:'/order',component:Order},
        {path:'/key',component:Key}
    ]
})
export default router